import Vue from 'vue'
import App from './App.vue'
import router from '@/router/handleRoute'
import { Component } from 'vue-property-decorator'
Vue.config.productionTip = false
// 组件内增加路由钩子
Component.registerHooks([
  'beforeRouteEnter',
  'beforeRouteLeave',
  'beforeRouteUpdate'
])
new Vue({
  router,
  render: h => h(App)
}).$mount('#after')
